package com.baidu.customview.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.baidu.customview.R;

public class AdapterRobotItemHolder {
    private ImageView icon;
    private TextView name;

    public AdapterRobotItemHolder(View view) {
        icon = (ImageView) view.findViewById(R.id.icon);
        name = (TextView) view.findViewById(R.id.name);
    }

    public TextView getName() {
        return name;
    }

    public ImageView getIcon() {
        return icon;
    }
}
